#include "fxcc/imgui/Editor.h"
#include "fxcc/core/graph/common/Character.h"

using namespace fxcc::graph::common;
using namespace fxcc::imgui;

template <>
bool Editor::Edit<Character>(const std::string& label, Character& inst)
{
    EditInst<glm::ivec2>("m_Size", inst.m_Size);
    EditInst<glm::ivec2 >("m_Bearing", inst.m_Bearing);
    EditInst<glm::ivec2 >("m_Advanced", inst.m_Advanced);
    EditInst<fxcc::graph::common::ImageMipmap>("m_FontBitMap", inst.m_FontBitMap);
    return false;
}
